package com.hmall.item.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.hmall.common.dto.PageDTO;
import com.hmall.item.pojo.Item;
import org.springframework.web.bind.annotation.RequestBody;

public interface IItemService extends IService<Item> {
    //分页查询
    PageDTO getlist(Integer page, Integer size);


    void getupdate(Item item);

    void getdelete(Long id);

    void update1(Long id, Integer status);

    Item getById1(Long id);

    Boolean save1(Item item);
}
